﻿using System.Windows.Input;
using SilentWebsite.ViewModels.Commands;
using SilentWebsite.ViewModels.Helpers;
using SilentWebsite.Views.Windows;

namespace SilentWebsite.ViewModels
{
    public class StartPageViewModel : ViewModelBase
    {
        public ICommand NavigateToPage { get; set; }
        public ICommand NavigateToWebsite { get; set; }
        public ICommand ShowAboutWindow { get; set; }

        public StartPageViewModel() : base("Start")
        {
            NavigateToPage = new NavigateCommand { Type = NavigationPageType.SilverlightPage };
            NavigateToWebsite = new NavigateCommand { Type = NavigationPageType.HttpLink };
            ShowAboutWindow = new SimpleCommand(() => new AboutChild().Show());
        }
    }
}
